package com.jeesite.modules.stock.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

import java.util.Date;

@Table(name="user_request_logs", alias="a", label="用户请求记录", columns={
        @Column(name="id", attrName="id", label="主键", isPK=true),
        @Column(name="interface_name", attrName="interfaceName", label="接口名称", isQuery=true),
        @Column(name="user_id", attrName="userId", label="用户id", isQuery=true),
        @Column(name="valid", attrName="valid", label="是否过期", isQuery=true),
        @Column(name="req_time", attrName="reqTime", label="访问时间", isQuery=true),
})
public class UserRequestLogsEntity extends DataEntity<UserRequestLogsEntity> {

    private String interfaceName;

    private String userId;

    private Date reqTime;

    private Integer valid;

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getReqTime() {
        return reqTime;
    }

    public void setReqTime(Date reqTime) {
        this.reqTime = reqTime;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }
}
